package com.BMS.Service;

import com.BMS.entity.Manager;
import com.BMS.entity.Reader;

/**
 * 用户（管理员、读者）业务层抽象类
 * @author lenovo
 *
 */
public interface UserService {
	
	// add
	public void addReader(Reader reader);
	
	public void addManager(Manager manager);
	
	// delete
	public void deleteReader(String reader_id);
	
	public void deleteManager(String manager_id);
	
	// find
	public Reader findReaderById(String reader_id);
	
	public Manager findManagerById(String manager_id);
	
	// update
	public void updateReader(Reader reader);
	
	public void updateManager(Manager manger);
	
}
